package game.view.mainUI
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	import game.UIComponent.FoodTypeSquare;
	import game.UIComponent.ScrollBar;
	import game.common.CustomBitmap;
	import game.managers.LanguageManager;
	import game.utils.Utils;
	public class NewsType extends Sprite
	{
		private var _bg:CustomBitmap;
		public function NewsType()
		{
			init();
		}
		private function init():void
		{
			_bg=new CustomBitmap();
			_bg.source="liuyanbg";
			addChild(_bg);
			
			var txt1:TextField = new TextField(); //文本条
			this.addChild(txt1);//显示出这个文本
			txt1.wordWrap=true;
			txt1.width=350;
			txt1.height=70;
			txt1.text=LanguageManager.getWord("newstxt");
			
			
		}
	}
}